package com.bidepan.spring6.tx.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration //配置类替代xml配置文件
@ComponentScan("com.bidepan.spring6.tx") //开启组件扫描
@EnableTransactionManagement //开启事务管理
public class mySpringConfig {

}
